#include <myhead.h>
#include "chatServer.h"
int main(int argc, char *argv[])
{
    if(argc < 3)
    {
        cout<<"请输入IP地址和端口号\n";
        return 1;
    }

    ChatServer server(argv[1],atoi(argv[2]));

    server.run();
}